Skip to content

Comments

Add Coding Agent Runner community ability#118

Open
Ju-usc wants to merge 15 commits intoopenhome-dev:devfrom
Ju-usc:add-codex-task-runner
Open

Add Coding Agent Runner community ability#118
Ju-usc wants to merge 15 commits intoopenhome-dev:devfrom
Ju-usc:add-codex-task-runner

Conversation

@Ju-usc
Copy link

@Ju-usc Ju-usc commented Feb 23, 2026

Summary

  • Rename codex-task-runnercoding-agent-runner — works with both Claude Code and Codex
  • Voice-triggered coding task execution via webhook: ask → confirm → refine prompt → call webhook → speak result
  • _refine_prompt cleans up STT transcription before sending to the coding agent
  • _rewrite_for_voice condenses verbose agent output into 1-2 spoken sentences
  • README shows both agents equally with a unified webhook server example
  • End-to-end tested via OpenHome + ngrok + Claude Code webhook

Validation

  • python3 -m py_compile community/coding-agent-runner/main.py
  • python3 validate_ability.py community/coding-agent-runner

Introduce a WebUI-compatible ability that relays coding tasks to a Codex webhook with confirmation/cancel flow and conversational summaries. Document setup, trigger words, and a minimal Codex-focused /run webhook contract for contributors.
Replace explicit register_capability boilerplate with the template register tag and remove raw open() usage so the ability matches updated validation requirements.
Copilot AI review requested due to automatic review settings February 23, 2026 05:40
@Ju-usc Ju-usc requested a review from a team as a code owner February 23, 2026 05:40
@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

🔀 Branch Merge Check

PR direction: add-codex-task-runnerdev

Passedadd-codex-task-runnerdev is a valid merge direction

@github-actions github-actions bot added first-contribution First-time contributor community-ability Community-contributed ability labels Feb 23, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

✅ Ability Validation Passed

📋 Validating: community/coding-agent-runner
  ✅ All checks passed!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2026

🔍 Lint Results

🔧 Auto-formatted

Some files were automatically cleaned and formatted with autoflake + autopep8 and committed.

  • Unused imports removed (autoflake)
  • Unused variables removed (autoflake)
  • PEP8 formatting applied (autopep8)

__init__.py — Empty as expected

Files linted: community/coding-agent-runner/main.py

✅ Flake8 — Passed

✅ All checks passed!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new community ability called "Codex Task Runner" that enables voice-triggered execution of coding tasks via an external webhook. The ability implements a confirmation flow before executing tasks, provides conversational spoken summaries of results, and uses placeholder-based webhook configuration for easy deployment.

Changes:

  • New voice-controlled ability for remote Codex task execution with confirmation flow and spoken results
  • Comprehensive documentation including setup instructions, webhook API contract, and example server implementation
  • Configuration via inline constants (WEBHOOK_URL, WEBHOOK_TOKEN) for WebUI-friendly setup

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
community/codex-task-runner/main.py Core ability implementation with conversation flow, webhook calls, and summary generation
community/codex-task-runner/README.md Setup documentation and example webhook server implementation
community/codex-task-runner/init.py Empty package initialization file (standard Python package structure)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codermohsin
Copy link
Contributor

Hey
I ran your ability code but it give this error "[ERROR]
1771830995.2642982:Error in ability: github_abilities, Details: GithubAbilitiesCapability.register_capability() missing 1 required positional argument: 'cls'"

image "

How to fix:

# Do not change following tag of register capability
#{{register capability}}

Currently you added extra text before the register capability block like this -> "# register capability tag: #{{register capability}}"

 try this  

    #{{register capability}}

def call(self, worker: AgentWorker):
    """OpenHome SDK hook; starts async ability flow."""
    .
    .
   .

Ju-usc and others added 2 commits February 23, 2026 15:53
- Rename folder, class, log tag, and voice prompts to be agent-agnostic
- Add _refine_prompt to clean up STT transcription before sending to agent
- README shows Claude Code and Codex equally with unified webhook example
- End-to-end tested via OpenHome + ngrok + Claude Code webhook
@Ju-usc
Copy link
Author

Ju-usc commented Feb 23, 2026

@codermohsin Thanks for catching that! I've refactored the ability and fixed the register tag issue:

  • Renamed to coding-agent-runner — now works with both Claude Code and Codex (just swap the agent in the webhook server)
  • Fixed #{{register capability}} tag — it's on its own line now, no extra text
  • Added _refine_prompt to clean up voice transcription before sending to the agent
  • End-to-end tested via OpenHome + ngrok + Claude Code webhook

Let me know if anything else breaks.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Ju-usc Ju-usc changed the title Add Codex Task Runner community ability Add Coding Agent Runner community ability Feb 24, 2026
Ju-usc and others added 2 commits February 23, 2026 16:35
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Juyoung Lee <112113286+Ju-usc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability first-contribution First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants